<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<<<<<<< HEAD
<head lang="en">
	<meta charset="UTF-8">
	<title>EC2 management</title>
	<link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
	<link href="http://v3.bootcss.com/examples/dashboard/dashboard.css" rel="stylesheet">
	<link href="myCss.css" rel="stylesheet">
	<script src="jquery.min.js"></script>
	<script src="bootstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
	<div class="container-fluid">
		<div class="navbar-header">
			<span class="glyphicon glyphicon-asterisk">brand</span>
=======
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="S3index.html">

<title>S3管理</title>


<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/themes/default/easyui.css">
<!-- Bootstrap core CSS -->
<link
	href="http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css"
	rel="stylesheet">
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>

<!-- Custom styles for this template -->
<link href="http://v3.bootcss.com/examples/dashboard/dashboard.css"
	rel="stylesheet">

<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script
	src="./Dashboard Template for Bootstrap_files/ie-emulation-modes-warning.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/jquery.easyui.min.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
	<nav class="navbar navbar-inverse navbar-fixed-top">
	<div class="container-fluid">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle collapsed"
				data-toggle="collapse" data-target="#navbar" aria-expanded="false"
				aria-controls="navbar">
				<span class="sr-only">Toggle navigation</span> <span
					class="icon-bar"></span> <span class="icon-bar"></span> <span
					class="icon-bar"></span>
			</button>
			<a class="navbar-brand" href="S3index.html">S3管理</a>
>>>>>>> 564fb09fff89e13779be11196b93a849dec3ecb6
		</div>
		<div id="navbar" class="navbar-collapse collapse">
			<ul class="nav navbar-nav navbar-right">
				<li><a href="http://v3.bootcss.com/examples/dashboard/#">Help</a></li>
			</ul>
			<form class="navbar-form navbar-right">
				<input type="text" class="form-control" placeholder="Search...">
			</form>
		</div>
	</div>
<<<<<<< HEAD
</nav>

<div class="container-fluid">
	<div class="row">
		<div class="col-sm-3 col-md-2 sidebar">
			<ul class="nav nav-sidebar" id="parent">
                    <li class="sidebar-menu">
                        <a href="#accountMenu" class="nav-header collapsed" data-toggle="collapse">账户管理</a>
                        <ul id="accountMenu" class="nav collapse menu-second">
                            <li><a href="${pageContext.request.contextPath}/useraccount/account.do"><i class="glyphicon glyphicon-tint"></i> 秘钥对管理</a></li>
                            <li><a href="${pageContext.request.contextPath}/useraccount/iam.do"><i class="glyphicon glyphicon-tint"></i> IAM管理</a></li>
                        </ul>
                        <a href="#EC2Meun" class="nav-header collapsed" data-toggle="collapse">EC2管理</a>
                        <ul id="EC2Meun" class="nav collapse menu-second">
                            <li><a href="${pageContext.request.contextPath}/ec2/tocreateec2.do"><i class="glyphicon glyphicon-tint"></i> EC2创建</a></li>
                            <li><a href="${pageContext.request.contextPath}/ec2/toswitchec2.do"><i class="glyphicon glyphicon-tint"></i> EC2状态切换</a></li>
                            <li><a href="#"><i class="glyphicon glyphicon-tint"></i> EC2调度</a></li>
                        </ul>
                        <a href="#S3Menu" class="nav-header collapsed" data-toggle="collapse">S3管理</a>
                        <ul id="S3Menu" class="nav collapse menu-second">
                            <li><a href="${pageContext.request.contextPath}/s3/bucketmanagement.do"><i class="glyphicon glyphicon-tint"></i> 存储桶管理</a></li>
                            <li><a href="${pageContext.request.contextPath}/s3/filemanagement.do"><i class="glyphicon glyphicon-tint"></i> 文件管理</a></li>
                        </ul>
                    </li>
                    <li><a href="${pageContext.request.contextPath}/datacollector/dataCol.do">数据采集程序</a></li>
                </ul>
		</div>
		<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" style="margin-top: -20px">

			<h2 class="sub-header">Wecome to use the file Management</h2>
			<!--up-->
			<div class="panel panel-info">
				<div class="panel-heading">
					<h3 class="panel-title">S3 upload</h3>
				</div>
				<div class="panel-body">
					<form action="uploadobject.do" method="post" enctype="multipart/form-data">
						<form role="form-horizontal">

							<div class="form-group has-info has-feedback">
								<label style="align:center; float:left; height:30px">用户名：</label>
								<div class="col-sm-16">
									<select class="selectpicker" name="username" style="width:150px; height:30px;" >
										<option value="name1">name1</option>
										<option value="name2">name2</option>
										<option value="name3">name3</option>
									</select>
								</div>
							</div>

							<div class="form-group has-info has-feedback">
								<label style="float:left">存储桶：</label>
								<div class="col-sm-16">
									<select class="selectpicker" name="username" style="width:150px; height:30px;" >
										<option value="soft">soft</option>
										<option value="program">program</option>
										<option value="data">data</option>
									</select>
=======
	</nav>

	<div class="container-fluid">
		<div class="row">

			<div class="col-sm-3 col-md-2 sidebar">
				<ul class="nav nav-sidebar" id="parent">
					<li><a href="tobucketmanagement.do">存储桶管理</a></li>
					<li><a href="tofilemanagement.do">文件管理</a></li>
				</ul>
			</div>

			<div class="col-sm-4 col-sm-offset-2 col-md-8 col-md-offset-2 main">
				<!--         <h1 class="page-header"></h1> -->
				<h2 class="sub-header">Wecome to use the file Management</h2>


				<div div class="panel panel-info">
					<div class="panel-heading">
						<h3 class="panel-title">S3 upload</h3>
					</div>
					<div class="panel-body">
						<form role="form-horizontal" action="uploadobject.do"
							method="post" enctype="multipart/form-data">
							<input name="username" type="hidden" id="username">
							<div class="form-group has-info has-feedback">
								<label for="name"
									style="align: center; float: left; height: 30px">用户名：</label>

								<div class="col-sm-16">
									<input class="easyui-combobox" id="userkeyselect"
										name="userkey" style="width: 150px; height: 30px;"
										data-options="
					url:'${pageContext.request.contextPath}/ec2/getuserkeylist.do',
					method:'get',
					valueField:'userkey',
					textField:'username',
					multiple:false,
					panelHeight:'auto',
					onSelect:function(rec){
					$('#username').val(rec.username);
					$('#bucketname').combobox('reload','${pageContext.request.contextPath}/s3/getbucketnames.do?username='+rec.username);
			}
		">

								</div>
							</div>


							<div class="form-group has-info has-feedback">
								<label for="name" style="float: left">存储桶：</label>

								<div class="col-sm-16">
									<input class="easyui-combobox" id="bucketname"
										name="bucketname"
										data-options="method:'get',multiple:false,
					panelHeight:'auto',valueField:'name',textField:'name'"
										style="width: 150px; height: 30px;">

>>>>>>> 564fb09fff89e13779be11196b93a849dec3ecb6
								</div>
							</div>

							<div class="form-group has-info has-feedback">
<<<<<<< HEAD
								<label style="float:left">选择文件:</label>
								<input class="btn btn-info" type="file" name="uploadfile" value="上传文件" >
=======
								<label for="name" style="float: left">选择文件:</label> <input
									class="btn btn-info" type="file" name="uploadfile" value="上传文件"></input>
>>>>>>> 564fb09fff89e13779be11196b93a849dec3ecb6
							</div>

							<div class="form-group">
								<div class="col-sm-offset-10 col-sm-10">
									<input type="submit" class="btn btn-lg btn-info" value="上传">
								</div>
							</div>

						</form>
<<<<<<< HEAD
					</form>

				</div>
			</div>

			<!-- down -->
			<div class="panel panel-info">
				<div class="panel-heading">
					<h3 class="panel-title">S3 download</h3>
				</div>
				<div class="panel-body">
					<form action="downloadobject.do" method="post" enctype="multipart/form-data">
						<form role="form-horizontal">

							<div class="form-group has-info has-feedback">
								<label style="align:center; float:left; height:30px">文件名：</label>
								<div class="col-sm-16">
									<input type="text" class="form-control" id="bucketname" placeholder="请输入文件名称">
								</div>
							</div>

							<div class="form-group has-info has-feedback">
								<label style="float:left">存储桶：</label>
								<div class="col-sm-16">
									<select class="selectpicker" name="username" style="width:150px; height:30px;" >
=======

					</div>
				</div>

				<!-- down -->
				<div div class="panel panel-info">
					<div class="panel-heading">
						<h3 class="panel-title">S3 download</h3>
					</div>
					<div class="panel-body">
						<form action="downloadobject.do" method="post"
							enctype="multipart/form-data">

							<div class="form-group has-info has-feedback">
								<label for="name"
									style="align: center; float: left; height: 30px">文件名：</label>

								<div class="col-sm-16">
									<input type="text" class="form-control" id="bucketname"
										placeholder="请输入文件名称"></input>

								</div>
							</div>


							<div class="form-group has-info has-feedback">
								<label for="name" style="float: left">存储桶：</label>

								<div class="col-sm-16">
									<select class="selectpicker" name="username"
										style="width: 150px; height: 30px;">
>>>>>>> 564fb09fff89e13779be11196b93a849dec3ecb6
										<option value="soft">soft</option>
										<option value="program">program</option>
										<option value="data">data</option>
									</select>
<<<<<<< HEAD
=======

>>>>>>> 564fb09fff89e13779be11196b93a849dec3ecb6
								</div>
							</div>

							<div class="form-group">
								<div class="col-sm-offset-10 col-sm-10">
									<input type="submit" class="btn btn-lg btn-info" value="下载">
								</div>
							</div>
<<<<<<< HEAD

						</form>
					</form>

				</div>
=======
						</form>

					</div>
				</div>


>>>>>>> 564fb09fff89e13779be11196b93a849dec3ecb6
			</div>
		</div>
	</div>

<<<<<<< HEAD

</div>
</body>
</html>
=======
	<!-- Bootstrap core JavaScript
    ================================================== -->
	<!-- Placed at the end of the document so the pages load faster -->
	<script src="./Dashboard Template for Bootstrap_files/jquery.min.js"></script>
	<script src="./Dashboard Template for Bootstrap_files/bootstrap.min.js"></script>
	<!-- Just to make our placeholder images work. Don't actually copy the next line! -->
	<script src="./Dashboard Template for Bootstrap_files/holder.min.js"></script>
	<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
	<script
		src="./Dashboard Template for Bootstrap_files/ie10-viewport-bug-workaround.js"></script>
	<script type="text/javascript">
		</body>
		</html>
	
>>>>>>> 564fb09fff89e13779be11196b93a849dec3ecb6
